<?php
/**
 * Created by Hbuilder.
 * User: loseself
 * Date: 2018/3/
 * 功能: 分页配置
 */
 
// 当前页前后的个数 
$config['num_links'] = 3;

// url上显示正确的页数
$config['use_page_numbers'] = TRUE;

// 定义名称
$config['first_link'] = '首页';
$config['last_link'] = '尾页';
$config['next_link'] = '下一页';
$config['prev_link'] = '上一页';

// 定义各个分页的标签栏
//$config['full_tag_open'] = '<ul>';
//$config['full_tag_close'] = '</ul>';
//$config['first_tag_open'] = '<li>';
//$config['first_tag_close'] = '</li>';
//
//$config['last_tag_open'] = '<li>';
//$config['last_tag_close'] = '</li>';
//
//$config['next_tag_open'] = '<li>';
//$config['next_tag_close'] = '</li>';
//
//$config['prev_tag_open'] = '<li>';
//$config['prev_tag_close'] = '</li>';
//
//$config['cur_tag_open'] = '<li><b>';		
//$config['cur_tag_close'] = '</li></b>';
//
//$config['num_tag_open'] = '<li>';
//$config['num_tag_close'] = '</li>';

// 将URI 段转换成字符串 
$config['page_query_string'] = TRUE;

// 更改传递的查询字符串 &page=...
$config['query_string_segment'] = 'page';

?>